package com.hist.service;

import java.util.List;

import com.hist.entity.AddressCheck;
import com.hist.entity.AgeCheck;
import com.hist.entity.AllScore;
import com.hist.entity.Percent;
import com.hist.entity.SpolCheck;
import com.hist.entity.Student;

public interface AdministratorService {
        
	    
	    /*修改学生信息*/
	    void updateStudent(Integer sno,String sname,String ssex,Integer sage,String sdept,String smajor,Integer sgrade,Integer school_length,String saddress,String spol,String snation,String srp,String smove);
	    List<Student> getStudent(Integer sno);
	    /*修改学生成绩*/
	    void updateScore(Double score,Integer sno);
	    List<AllScore> getScore(Integer sno);
	    /*查看全体学生信息*/
	    List<Student> allstudent();
	    /*查看全体学生成绩*/
	    List<AllScore> allScore();
	    /*按年龄统计人数*/
	    List<AgeCheck> ageCheck(); 
	    /*按地区统计人数*/
	    List<AddressCheck> addressCheck();
	    /*按政治面貌统计人数*/
	    List<SpolCheck> spolCheck();
	    /*以专业分类，年级为单位查看学生成绩*/
	    List<AllScore> checkScore(String smajor,Integer sgrade);
	    /*查看学生成绩的人数及其百分比*/
	    List<Percent> getpercent(String smajor,Integer sgrade);
	    
	   
}
